package com.mwh.yuantu.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.mwh.yuantu.entity.WebInfoEntity;
import com.mwh.yuantu.parameter.WebInfoParameter;
import com.mwh.yuantu.parameter.WebInfoSearchParameter;
import com.mwh.yuantu.dto.WebInfoDTO;
import org.springframework.beans.BeanUtils;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.*;

/**
 * (WebInfo)表服务接口
 *
 * @author maweihong
 * @since 2023-11-01 09:47:34
 */
@Service
@Slf4j
public class WebInfoService extends BaseService {



    /**
     * 查询网站信息
     * @return
     */
    public WebInfoEntity select() {
        return iWebInfoDAO.select();
    }

    /**
     * 保存站点信息配置
     * @param webInfo
     */
    public void save(WebInfoEntity webInfo) {
        iWebInfoDAO.update(webInfo);
    }
    
}

